home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 1.toast / pc / technical documentation / develop / develop issue 28 / develop issue 28 code / macapp debugging / twistdownlists / tdlerrors.r < prev    next >
Encoding:
Text File  |  1996-10-04  |  2.2 KB  |  74 lines

  1. //--------------------------------------------------------------------------------------------------                                                                            
  2. // TDLErrors.r                                                     
  3. // ETO20 MacApp 3.3.1, MPW 3.4.1                                                                        
  4. // Copyright © 1996 by Conrad Kopala 
  5. // Twist Down Lists version 2.0a0 7/15/96
  6. //--------------------------------------------------------------------------------------------------
  7.  
  8. #ifndef __TWISTDOWNGLOBALS__
  9. #include "TwistDownGlobals.r"
  10. #endif
  11.  
  12. resource 'errs' (errReasonID + 1000, purgeable) {
  13.     {    
  14.     whichList, 0, kErrorStrings;
  15.     errNotHFSVolume, errNotHFSVolume, 2;
  16.     errAENotAFolder, errAENotAFolder, 4;
  17.     errTooManyRows, errTooManyRows, 7;
  18.     errCantExpandElement, errCantExpandElement, 9;
  19.     errListAlreadyExpanded, errListAlreadyExpanded, 11;
  20.     errListAlreadyCollapsed, errListAlreadyCollapsed, 12;
  21.     errElementAlreadyExpanded, errElementAlreadyExpanded, 13;
  22.     errElementAlreadyCollapsed, errElementAlreadyCollapsed, 14;
  23.     errFailHere, errFailHere, 15;
  24.     }
  25. };
  26.  
  27. resource 'errs' (errRecoveryID + 1000, purgeable) {
  28.     {    whichList, 0, kErrorStrings;            
  29.         errNotHFSVolume, errNotHFSVolume, 3;
  30.         errAENotAFolder, errAENotAFolder, 5;
  31.         errTooManyRows, errTooManyRows, 8;
  32.         errCantExpandElement, errCantExpandElement, 10;    
  33.  
  34.     }
  35. };
  36.  
  37. resource 'errs' (errOperationsID + 1000, purgeable) {
  38.     {    whichList, 0, kErrorStrings;    
  39.         errNotHFSVolume, errNotHFSVolume, 1;
  40.         errTooManyRows, errTooManyRows, 6;    
  41.     }
  42. };
  43.  
  44. /* The info strings for our errors.  */
  45.  
  46. resource 'STR#' (kErrorStrings,
  47. #if qNames
  48.     "kErrorStrings",
  49. #endif
  50.     purgeable) {
  51.     {
  52.     /* [1] */    "open “^3”";
  53.     /* [2] */    "it is not an HFS volume";
  54.     /* [3] */    "Select another volume.";
  55.  
  56.     /* [4] */    "that element is not a folder";
  57.     /* [5] */    "element is not a folder";
  58.     
  59.     /* [6] */    "open “^3”";
  60.     /* [7] */    "there are too many items for the view to display";
  61.     /* [8] */    "Sorry, there is nothing you can do about it.";
  62.     
  63.     /* [9] */    "there are too many items for the view to display";
  64.     /* [10] */    "Collapse another element and try again.";    
  65.     
  66.     /* [11] */    "the list is already expanded.";
  67.     /* [12] */    "the list is already collapsed.";
  68.     
  69.     /* [13] */    "that element is already expanded.";
  70.     /* [14] */    "that element is already collapsed.";
  71.     
  72.     /* [14] */    "FailHere triggered.";
  73.     }
  74. };